CMAKE_MINIMUM_REQUIRED(VERSION 3.20)
PROJECT(Foo)
INCLUDE_DIRECTORIES(include)
ADD_LIBRARY(Foo SHARED include/Foo.h src/Foo.cpp)